home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 19.zip / BS1 part 19 / Lattice C disk 4.adf / Compiler_Headers / workbench / startup.h < prev    next >
C/C++ Source or Header  |  1988-10-25  |  970b  |  40 lines

  1. #ifndef WORKBENCH_STARTUP_H
  2. #define WORKBENCH_STARTUP_H
  3. /*
  4. **    $Filename: workbench/startup.h $
  5. **    $Release: 1.3 $
  6. **
  7. **    
  8. **
  9. **    (C) Copyright 1985,1986,1987,1988 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. #ifndef EXEC_TYPES_H
  14. #include "exec/types.h"
  15. #endif !EXEC_TYPES_H
  16.  
  17. #ifndef EXEC_PORTS_H
  18. #include "exec/ports.h"
  19. #endif !EXEC_PORTS_H
  20.  
  21. #ifndef LIBRARIES_DOS_H
  22. #include "libraries/dos.h"
  23. #endif !LIBRARIES_DOS_H
  24.  
  25. struct WBStartup {
  26.     struct Message    sm_Message;    /* a standard message structure */
  27.     struct MsgPort *    sm_Process;    /* the process descriptor for you */
  28.     BPTR        sm_Segment;    /* a descriptor for your code */
  29.     LONG        sm_NumArgs;    /* the number of elements in ArgList */
  30.     char *        sm_ToolWindow;    /* description of window */
  31.     struct WBArg *    sm_ArgList;    /* the arguments themselves */
  32. };
  33.  
  34. struct WBArg {
  35.     BPTR        wa_Lock;    /* a lock descriptor */
  36.     BYTE *        wa_Name;    /* a string relative to that lock */
  37. };
  38.  
  39. #endif    /* WORKBENCH_STARTUP_H */
  40.